package top.mataiji.manager.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.mataiji.manager.pojo.Order_details;
import top.mataiji.manager.pojo.Order_detailsExample;

import java.util.List;

@Mapper
public interface Order_detailsMapper {
    long countByExample(Order_detailsExample example);

    int deleteByExample(Order_detailsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Order_details record);

    int insertSelective(Order_details record);

    List<Order_details> selectByExample(Order_detailsExample example);

    Order_details selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Order_details record, @Param("example") Order_detailsExample example);

    int updateByExample(@Param("record") Order_details record, @Param("example") Order_detailsExample example);

    int updateByPrimaryKeySelective(Order_details record);

    int updateByPrimaryKey(Order_details record);

//    int instertOrder_details(ArrayList<Order_details> list);
}
